// 明明空间的设置 这里主要是防止变量冲突

namespace shuai{
  export class Youchen{
    public name:string  = "shuai";
    talk(){
      console.log("123");
    }
  }
}

namespace chou{
  export class Youchen{
    public name:string  = "chou";
    talk(){
      console.log("456");
    }
  }
}

let people:shuai.Youchen = new  shuai.Youchen();
let dog:chou.Youchen = new  chou.Youchen();

console.log(people.name);
console.log(dog.name);


this.$confirm("此操作将永久删除该条记录, 是否继续?", "提示", {
  confirmButtonText: "确定",
  cancelButtonText: "取消",
  type: "warning"
}).then(() => {
  SoundTraining.deleteLog({
    report_id: id
  })
    .then(res => {
      const { code, message } = res;
      if (code === 1) {
        this.$message.success("删除成功~");
        this.getOralErrorLog();
      } else {
        this.$message.error(message);
      }
    })
    .catch(error => {
      throw error;
    });
});